<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>navistore.backend.restkit.client.HttpResponse : API documentation</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">n.b.r.c.HttpResponse(<span title="object">object</span>) : class documentation</h1>
    <p>
      <span id="part">Part of <a href="navistore.html">navistore</a>.<a href="navistore.backend.html">backend</a>.<a href="navistore.backend.restkit.html">restkit</a>.<a href="navistore.backend.restkit.client.html">client</a></span>
      
      <a href="classIndex.html#navistore.backend.restkit.client.HttpResponse">View In Hierarchy</a>
    </p>
    <div>
      
    </div>
    <div>Http Response object returned by HttpConnction<table class="fieldTable"></table></div>

    
    
    <div id="splitTables">
      <table class="children sortable" id="id145">
  
  
<tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#__init__">__init__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#__getitem__">__getitem__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#__contains__">__contains__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#__iter__">__iter__</a></td>
    <td><span class="undocumented">Undocumented</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#body_string">body_string</a></td>
    <td><span>return body string, by default in bytestring</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#body_stream">body_stream</a></td>
    <td><span>return full body stream</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#close">close</a></td>
    <td><span>release the socket</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#body">body</a></td>
    <td><span>body in bytestring</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#body_file">body_file</a></td>
    <td><span>return body as a file like object</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="navistore.backend.restkit.client.HttpResponse.html#unicode_body">unicode_body</a></td>
    <td><span>like body but converted to unicode</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    

    <div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.__init__">
    
  </a>
  <a name="__init__">
    
  </a>
  <div class="functionHeader">
    
    def
    __init__(self, response, final_url):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.__getitem__">
    
  </a>
  <a name="__getitem__">
    
  </a>
  <div class="functionHeader">
    
    def
    __getitem__(self, key):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.__contains__">
    
  </a>
  <a name="__contains__">
    
  </a>
  <div class="functionHeader">
    
    def
    __contains__(self, key):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.__iter__">
    
  </a>
  <a name="__iter__">
    
  </a>
  <div class="functionHeader">
    
    def
    __iter__(self):
    
  </div>
  <div class="functionBody">
    
    <div class="undocumented">Undocumented</div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.body_string">
    
  </a>
  <a name="body_string">
    
  </a>
  <div class="functionHeader">
    
    def
    body_string(self, charset=None, unicode_errors='strict'):
    
  </div>
  <div class="functionBody">
    
    <div>return body string, by default in bytestring<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.body_stream">
    
  </a>
  <a name="body_stream">
    
  </a>
  <div class="functionHeader">
    
    def
    body_stream(self):
    
  </div>
  <div class="functionBody">
    
    <div>return full body stream<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.close">
    
  </a>
  <a name="close">
    
  </a>
  <div class="functionHeader">
    
    def
    close(self):
    
  </div>
  <div class="functionBody">
    
    <div>release the socket<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.body">
    
  </a>
  <a name="body">
    
  </a>
  <div class="functionHeader">
    @property<br />
    def
    body(self):
    
  </div>
  <div class="functionBody">
    
    <div>body in bytestring<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.body_file">
    
  </a>
  <a name="body_file">
    
  </a>
  <div class="functionHeader">
    @property<br />
    def
    body_file(self):
    
  </div>
  <div class="functionBody">
    
    <div>return body as a file like object<table class="fieldTable"></table></div>
  </div>
</div><div class="function">
  <a name="navistore.backend.restkit.client.HttpResponse.unicode_body">
    
  </a>
  <a name="unicode_body">
    
  </a>
  <div class="functionHeader">
    @property<br />
    def
    unicode_body(self):
    
  </div>
  <div class="functionBody">
    
    <div>like body but converted to unicode<table class="fieldTable"></table></div>
  </div>
</div>
    <address>
      <a href="index.html">API Documentation</a> for navistore, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2010-11-13 15:44:55.
    </address>
  </body>
</html>